package Month09.day0918.part_2;

public class Animal {
    String name;
    int age;
    String gender;

    public Animal(String name, int age, String gender) {
        this.name = name;
        this.age = age;
        this.gender = gender;
    }

    public void eat(){
        System.out.println("动物吃食物");
    }
}
